package com.bwie.controller;

import com.bwie.service.MemberService;
import com.bwie.utils.R;
import com.bwie.vo.MemberVo;
import com.bwie.vo.UserVo;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author : LeiMingkun
 * @date : 2024-07-30 10:16
 * @description : MemberController
 **/
@RestController
@RequestMapping("/member/member")
public class MemberController {
    @Resource
    private MemberService memberService;
    @RequestMapping("/getList")
    public R getList(@RequestBody MemberVo memberVo){
        return memberService.getList(memberVo);
    }
}